$(document).ready(function()
{
$("#subbtn").click(function()
{

var pro_name=$('#pname').val();
var pro_number=$('#prnumber').val();
var p_amount=$('#amount').val();
var f_location=$('#flocation').val();
var desc=$('#desc').val();
var sn=$('#serial').val();
var status=$('#status').val();
var est_day=$('#est_ted').val();
var ted_app=$('#app_ted').val();
var dataString = 'pro_name='+ pro_name + '&proNo='+ pro_number + '&pAm='+ p_amount + '&fLoc='+ f_location + '&desc='+ desc + '&sn='+sn +'&estdt='+est_day+'&status='+status+'&ted_app='+ted_app;

$.ajax
({
type: "POST",
url: "controller/execute/update1_project.php",
data: dataString,
cache: false,
success: function(html)
{
$("#updateResult").html(html);
$('#myModal').modal('show');


} 
});

});

});
